package com.example.yiwei.crm.dao_impl;

import com.example.yiwei.crm.dao.healthEducationDao;
import com.example.yiwei.crm.entity.ClueMeesageEntity;
import com.example.yiwei.crm.entity.DepartmentEntity;
import com.example.yiwei.crm.json.healthEducatioJson;

import java.util.List;

/**
 * Created by Administrator on 2017/7/6.
 */

public class healthEducationDaoImpl implements healthEducationDao {
    @Override
    public List<ClueMeesageEntity> queryHealthClueMessage(String url, String para) {
        List<ClueMeesageEntity> list= healthEducatioJson.jsonClueManagerMessae(url, para);
        return list;
    }

    @Override
    public List<DepartmentEntity> queryAllDepartmentMessage(String url, String para) {
        List<DepartmentEntity> list=healthEducatioJson.getBZFL(url, para);
        return list;
    }
}
